package com.site.wisdom_construction.entity.trainingCheckModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-16 
 */
@ApiModel (value ="培训考试表实体类",description = "TrainExam")
public class TrainExam {
	/**
	 * 培训考试表id
	 */
   	@ApiModelProperty(value = "培训考试表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 培训考试标题
	 */
   	@ApiModelProperty(value = "培训考试标题", name = "examTitle")
	private String examTitle;

	/**
	 * 试卷id
	 */
   	@ApiModelProperty(value = "试卷id", name = "examinationId")
	private Integer examinationId;

	/**
	 * 试卷标题
	 */
	@ApiModelProperty(value = "试卷标题", name = "examinationTitle")
	private String examinationTitle;

	/**
	 * 工种类型id
	 */
   	@ApiModelProperty(value = "工种类型id", name = "professionId")
	private Integer professionId;

	/**
	 * 工种名称
	 */
	@ApiModelProperty(value = "工种名称", name = "professionName")
	private String professionName;

	/**
	 * 考试时间(分)
	 */
   	@ApiModelProperty(value = "考试时间(分)", name = "examTime")
	private Integer examTime;

	/**
	 * 考试开始时间
	 */
   	@ApiModelProperty(value = "考试开始时间", name = "testStartTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date testStartTime;

	/**
	 * 考试结束时间(不填长期有效)
	 */
   	@ApiModelProperty(value = "考试结束时间(不填长期有效)", name = "testEndTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date testEndTime;

	/**
	 * 发布时间
	 */
   	@ApiModelProperty(value = "发布时间", name = "publishTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date publishTime;

	/**
	 * 发布人
	 */
   	@ApiModelProperty(value = "发布人", name = "publishPerson")
	private String publishPerson;

	public TrainExam(){ super(); }

	public TrainExam(Integer id, Integer projectId, String examTitle, Integer examinationId, String examinationTitle, Integer professionId, String professionName, Integer examTime, Date testStartTime, Date testEndTime, Date publishTime, String publishPerson) {
		this.id = id;
		this.projectId = projectId;
		this.examTitle = examTitle;
		this.examinationId = examinationId;
		this.examinationTitle = examinationTitle;
		this.professionId = professionId;
		this.professionName = professionName;
		this.examTime = examTime;
		this.testStartTime = testStartTime;
		this.testEndTime = testEndTime;
		this.publishTime = publishTime;
		this.publishPerson = publishPerson;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getExamTitle() {
		return examTitle;
	}

	public void setExamTitle(String examTitle) {
		this.examTitle = examTitle;
	}

	public Integer getExaminationId() {
		return examinationId;
	}

	public void setExaminationId(Integer examinationId) {
		this.examinationId = examinationId;
	}

	public String getExaminationTitle() {
		return examinationTitle;
	}

	public void setExaminationTitle(String examinationTitle) {
		this.examinationTitle = examinationTitle;
	}

	public Integer getProfessionId() {
		return professionId;
	}

	public void setProfessionId(Integer professionId) {
		this.professionId = professionId;
	}

	public String getProfessionName() {
		return professionName;
	}

	public void setProfessionName(String professionName) {
		this.professionName = professionName;
	}

	public Integer getExamTime() {
		return examTime;
	}

	public void setExamTime(Integer examTime) {
		this.examTime = examTime;
	}

	public Date getTestStartTime() {
		return testStartTime;
	}

	public void setTestStartTime(Date testStartTime) {
		this.testStartTime = testStartTime;
	}

	public Date getTestEndTime() {
		return testEndTime;
	}

	public void setTestEndTime(Date testEndTime) {
		this.testEndTime = testEndTime;
	}

	public Date getPublishTime() {
		return publishTime;
	}

	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}

	public String getPublishPerson() {
		return publishPerson;
	}

	public void setPublishPerson(String publishPerson) {
		this.publishPerson = publishPerson;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", examTitle='" + examTitle + '\'' +
				", examinationId=" + examinationId +
				", examinationTitle='" + examinationTitle + '\'' +
				", professionId=" + professionId +
				", professionName='" + professionName + '\'' +
				", examTime=" + examTime +
				", testStartTime=" + testStartTime +
				", testEndTime=" + testEndTime +
				", publishTime=" + publishTime +
				", publishPerson='" + publishPerson + '\'' +
				'}';
	}
}
